﻿using System;
namespace Chenxin.Lib.Hr.Entity
{
    /// <summary>
    /// 实体类Base_Permit_RoleDefine 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Base_Permit_RoleDefine
    {
        public Base_Permit_RoleDefine()
        { }
        #region Model
        private Guid _roleid;
        private string _rolename;
        private Guid _cityid;
        private string _cityname;
        private Guid _companyid;
        private string _companyname;
        private bool _isshow;
        private bool _defrole;

        /// <summary>
        /// 角色Id
        /// </summary>
        public Guid RoleId
        {
            set { _roleid = value; }
            get { return _roleid; }
        }
        /// <summary>
        /// 角色名
        /// </summary>
        public string RoleName
        {
            set { _rolename = value; }
            get { return _rolename; }
        }
        /// <summary>
        /// 城市Id
        /// </summary>
        public Guid CityId
        {
            set { _cityid = value; }
            get { return _cityid; }
        }
        /// <summary>
        /// 城市名
        /// </summary>
        public string CityName
        {
            set { _cityname = value; }
            get { return _cityname; }
        }
        /// <summary>
        /// 公司Id
        /// </summary>
        public Guid CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        /// <summary>
        /// 公司名
        /// </summary>
        public string CompanyName
        {
            set { _companyname = value; }
            get { return _companyname; }
        }
        /// <summary>
        /// true:显示;false:非显示
        /// </summary>
        public bool IsShow
        {
            set { _isshow = value; }
            get { return _isshow; }
        }
        /// <summary>
        /// 默认角色
        /// </summary>
        public bool DefRole
        {
            set { _defrole = value; }
            get { return _defrole; }
        }
        #endregion Model

    }
}

